package com.yx.modules.api.entity;

import com.baomidou.mybatisplus.annotations.TableId;

import java.util.Date;

public class TbUser {

    @TableId("user_id")
    private Integer userId;
    /**
     * 用户名
     */
    private String username;
    /**
     * 手机号
     */
    private String mobile;
    /**
     * 密码
     */
    private String password;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * uuid
     */
    private String uuid;
    /**
     * 余额
     */
    private Integer balance;
    /**
     * 描述
     */
    private String description;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 是否启用
     */
    private Boolean enabled;
    /**
     * 昵称
     */
    private String nickname;
    /**
     * 头像地址
     */
    private String profileimageurl;
    /**
     * 盐值
     */
    private String saltvalue;
    /**
     * 性别
     */
    private Boolean sex;
    /**
     * QQ登录token
     */
    private String qqtoken;
    /**
     * QQ登录openID
     */
    private String qqopenid;
    /**
     * 微博登录token
     */
    private String wbtoken;
    /**
     * 微博登录openID
     */
    private String wbopenid;
    /*
    *个性签名
    */
    private String signature;
    /*
    *用户身份
    */
    private Integer identity;
    /*
    *作家等级（0：普通用户无等级,1:普通作家，2：签约作家）
    */
    private Integer authorGrade;
    /*
    *联系电话
    */
    private String contactNumber;
    /*
    * 微信的openid
    */
    private String openid;

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getContactNumber() {
        return contactNumber;
    }

    public void setContactNumber(String contactNumber) {
        this.contactNumber = contactNumber;
    }

    public Integer getIdentity() {
        return identity;
    }

    public void setIdentity(Integer identity) {
        this.identity = identity;
    }

    public Integer getAuthorGrade() {
        return authorGrade;
    }

    public void setAuthorGrade(Integer authorGrade) {
        this.authorGrade = authorGrade;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid == null ? null : uuid.trim();
    }

    public Integer getBalance() {
        return balance;
    }

    public void setBalance(Integer balance) {
        this.balance = balance;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    public String getProfileimageurl() {
        return profileimageurl;
    }

    public void setProfileimageurl(String profileimageurl) {
        this.profileimageurl = profileimageurl == null ? null : profileimageurl.trim();
    }

    public String getSaltvalue() {
        return saltvalue;
    }

    public void setSaltvalue(String saltvalue) {
        this.saltvalue = saltvalue == null ? null : saltvalue.trim();
    }

    public Boolean getSex() {
        return sex;
    }

    public void setSex(Boolean sex) {
        this.sex = sex;
    }

    public String getQqtoken() {
        return qqtoken;
    }

    public void setQqtoken(String qqtoken) {
        this.qqtoken = qqtoken;
    }

    public String getQqopenid() {
        return qqopenid;
    }

    public void setQqopenid(String qqopenid) {
        this.qqopenid = qqopenid;
    }

    public String getWbtoken() {
        return wbtoken;
    }

    public void setWbtoken(String wbtoken) {
        this.wbtoken = wbtoken;
    }

    public String getWbopenid() {
        return wbopenid;
    }

    public void setWbopenid(String wbopenid) {
        this.wbopenid = wbopenid;
    }

}